export default {
    sub(state) {
        state.dnum--;
    },
    add(state) {
        state.dnum++;
    },
    sub2(state, count) {
        state.dnum -= count;
    },
    add2(state, count) {
        state.dnum += count;
    }
};
